package com.thinkcms.security.custom;

import org.springframework.context.ApplicationListener;
import org.springframework.security.authentication.event.AuthenticationSuccessEvent;

//@Component
public class CustomAuthencationOk implements ApplicationListener<AuthenticationSuccessEvent> {
    @Override
    public void onApplicationEvent(AuthenticationSuccessEvent event) {

        System.out.println(event.getSource().getClass());

    }
}
